package com.acp.service;

import com.acp.model.DcsCollectManagement;
import com.acp.param.DcsCollectManagementParam;
import com.acp.param.DcsHistoricalAreaParam;
import com.acp.result.PageResult;
import com.acp.result.ResultInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.InputStream;


import java.util.ArrayList;

import java.util.List;

/**
 * All rights Reserved, Designed By 姑苏区政府大数据中心
 *
 * @version V1.0
 * @Title: null.java
 * @Package com.dci.controller.construction
 * @Description: 采集管理实现接口
 * @author: 张星亮
 * @date: 2019/4/5
 * @Copyright: 2019 姑苏区政府大数据中心. All rights reserved.
 * 注意：本内容仅限于姑苏区政府大数据中心内部传阅，禁止外泄以及用于其他的商业目
 */
public interface DcsCollectManagementService {
    /**
     * 查询
     * @return 返回PageResult封装的返回参数  保存成功msg:906 保存失败msg:911
     */
    PageResult selectCollect();

    /**
     * 查询excel
     * @param in
     * @param fileName
     * @param dcsCollectManagementParam
     * @return list集合
     * @throws Exception
     */
    List<List<Object>> getBankListByExcel(InputStream in, String fileName, DcsCollectManagementParam dcsCollectManagementParam) throws Exception;

    /**
     * 查询Workbook
     * @param inStr
     * @param fileName
     * @return 返回Workbook封装的返回参数  保存成功msg:906 保存失败msg:911
     * @throws Exception
     */
    Workbook getWorkbook(InputStream inStr, String fileName) throws Exception;

    /**
     * 查询
     * @param dcsCollectManagementParam
     * @return 返回PageResult封装的返回参数  保存成功msg:906 保存失败msg:911
     */
    PageResult lookCollectArea(DcsCollectManagementParam dcsCollectManagementParam);
}
